﻿<div>
    @if (visible)
    {
        <Alert Message="Alert Message Text" Type="AlertType.Success" Closable AfterClose="handleClose" />
    }
    <p>placeholder text here</p>
</div>

@code{
    bool visible = true;

    void handleClose()
    {
        visible = false;
    }
}